package com.gitee.wsl.ext

import com.gitee.wsl.ext.base.currentDateTime
import kotlin.test.Test


class ResultEntryExtTest {

    @Test
    fun testResult(){
       runCatching {
           println("run in withResult")
           Result.success(currentDateTime)
       }.onSuccess {
          println("run in withResult on data:$it")
       }
    }
}